#ifndef __SQUARE_H__
#define __SQUARE_H__
#include <Quadrangle.h>

class Square : public Quadrangle
{
 public:
    Square (float length);
    float getArea() const;
    float getPerimeter() const;
    float getSide() const;
    bool  setSide(float side);

private:
    bool  isSideValid() const;
    bool  isValid() const;
    float m_side;
};

#endif


